#ifndef __MIFARE_CARD_H__ 
#define __MIFARE_CARD_H__

#include "reader.h"

#define MIFARE_KA			0x60	/* M1卡A密钥 */
#define MIFARE_KB			0x61	/* M1卡B密钥 */


s32 mifare_card_load(void *op, void *data);
s32 mifare_card_cons(void *op, void *data);
s32 mifare_card_read_block(reader_op *reader, card_data *send, u8 block);
s32 mifare_card_check_key(reader_op *reader, u8 block, u8 key_type);
#endif
